package com.longcai.piaojia.conn;

import com.zcx.helper.http.AsyCallBack;
import com.zcx.helper.http.note.HttpInlet;

import org.json.JSONObject;

/**
 * Created by Administrator on 2016/11/7.
 */
@HttpInlet(Conn.QUESTION_BESPEAK)
public class GoodsBookGet extends BaseAsyPost<String> {

    public String order;

    public GoodsBookGet(AsyCallBack<String> asyCallBack) {
        super(asyCallBack);
    }

    @Override
    protected String parser(JSONObject object) throws Exception {

        TOAST = object.optString("message");

        if(object.optInt("code")==200){

            return "";

        }

        return null;
    }
}
